﻿using System;
using System.Collections.Generic;
using Equation.Enterprise.Framework.Domain.Model;

namespace ENail.Domain.Core
{
    public class NailService : EntityWithTypedId<Int16>
    {

        public string ServiceName { get; set; }
        public virtual NailService ParentService { get; set; }
        public IList<NailService> ChildServices { get; set; }
        public virtual Category Category { get; set; }
        public double Price { get; set; }
        public string Description { get; set; }
        public virtual NailSalon NailSalon { get; set; }
        public bool IsActive { get; set; }

        public NailService(NailSalon nailSalon)
            : this()
        {
            NailSalon = nailSalon;
        }

        public NailService()
        {
            IsActive = true;
        }
    }
}
